메인 콘텐츠로 건너뛰기
POST
/
metric
/
campaigns_attribute_daily
Get a campaign attribute daily metric
curl --request POST \
  --url https://your_a2_service/metric/campaigns_attribute_daily \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "from_datetime": "2023-11-07T05:31:56Z",
  "to_datetime": "2023-11-07T05:31:56Z"
}
'
[
  {
    "cid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "frequency": {},
    "tagid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "timestamp": "2023-11-07T05:31:56Z"
  }
]

인증

Authorization
string
header
필수

The access token received from the authorization server in the OAuth 2.0 flow.

본문

application/json

캠페인 지표 조회 쿼리

campaign_id
string<uuid>
필수
from_datetime
string<date-time> | null
to_datetime
string<date-time> | null

응답

Successful Response

cid
string<uuid>
필수

캠페인 id

frequency
Frequency · object
필수

속성별 값의 빈도수

예시:
{ "age": { "10-20": 1, "20-30": 2 } }
tagid
string<uuid>
필수

지면 id

timestamp
string<date-time>
필수

지표의 시간 단위 타임스탬프